from app.view.content.add import ContentCreate, ContentList
from app.view.content import api
from app.view.content.column import ColumnCreate

api.add_resource(ContentCreate, '/content/add')  # 添加文章
api.add_resource(ContentList, '/content/list', '/content/detail')  # 文章列表
api.add_resource(ColumnCreate, '/column/list')  # 栏目列表和添加栏目
